package com.cxs.strategy.simple;

/**
 * @Author: cxs
 */
public class StrategyContext {

    private LoginStrategy loginStrategy;

    public StrategyContext() {
    }

    public StrategyContext(LoginStrategy loginStrategy) {
        this.loginStrategy = loginStrategy;
    }


    public Object realDoLogin(String username, String pwd) {
        return this.loginStrategy.doLogin(username, pwd);
    }

}
